package com.angel.mapper;

import com.angel.bean.dto.ProblemsDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.angel.bean.Problems;

@Mapper
public interface ProblemsDao {
    int insert(@Param("problems") Problems problems);

    int insertSelective(@Param("problems") Problems problems);

    int insertList(@Param("problemss") List<Problems> problemss);

    int update(@Param("problems") Problems problems);

    List<Problems> selectAll(@Param("problems") Problems problems);

    List<ProblemsDto> selectAllHasName(@Param("problems") Problems problems);
}
